<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">
    {if $account_show }
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('所属公司')}</label>
        <div class="layui-input-inline">
            <select name="account_id" lay-search class="layui-select">
                <option value=''>-- {:lang('全部')} --</option>
                {foreach $account_arr as $id => $name}
                <option value="{$id}">{$name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('店铺')}</label>
        <div class="layui-input-inline">
            <select name="shop_id">
                <option value="">{:lang('请选择')}</option>
                {foreach $shop_list as $k => $val}
                <option value="{$val.id|default=''}">{$val.name|default=''}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库')}</label>
        <div class="layui-input-inline">
            <select name="warehouse_id">
                <option value="">{:lang('请选择')}</option>
                {foreach $warehouseList as $k => $val}
                <option value="{$val.warehouse_id|default=''}">{$val.name|default=''}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('库存状态')}</label>
        <div class="layui-input-inline">
            <select name="push_status">
                <option value="">{:lang('请选择')}</option>
                {foreach $statusArr as $k => $v}
                <option value={$k}>{$v}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('SPU')}</label>
        <label class="layui-input-inline">
            <input name="spu_code" value="{$get.spu_code|default=''}" placeholder="{:lang('请输入SPU')}" class="layui-input">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('SPU名称')}</label>
        <label class="layui-input-inline">
            <input name="spu_title" value="{$get.spu_title|default=''}" placeholder="{:lang('请输入SPU名称')}" class="layui-input">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary" id="e"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
        <button class="layui-btn layui-btn-primary" type="reset"> {:lang('重置')}</button>
    </div>
</form>